const pagePc = () => {
  let rootValue: number = 10
  let pc = rootValue / 1920
  let width = window.innerWidth
  let rem: number = 0
  if (width < 1366) {
    width = 1366
  }
  rem = width * pc
  document.documentElement.style.fontSize = rem + 'px'
}

export { pagePc }
